package springbootrest.demo.test;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * todo
 *
 * @author songZiHao
 * @version 1.0.0
 * @ClassName FilterTst.java
 * @createTime 2022年11月09日 16:35:00
 */
@Service
public class FilterTst {
	@Autowired
	private List<FulfillmentOrderFilter> fulfillmentOrderFilter;

	@Autowired
	private List<FulfillmentOrderFillFilter> fulfillmentOrderFillFilters;

	public void filters(){
		for (FulfillmentOrderFilter filter : fulfillmentOrderFilter) {
			filter.filter();
		}
	}

	public void fill(){
		for (FulfillmentOrderFillFilter filter : fulfillmentOrderFillFilters) {
			filter.fill();
		}
	}
}
